refactor garmin_fs class (#1203)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 1 Nov 2023 13:16:44 +0000 (07:16 -0600)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2023 13:16:44 +0000 (07:16 -0600)
commitbc0e8b94c30f2bf3b8927e9837deba0400da6efc
tree5dc7c76573d10eed1e50fc53674f67e9e5513632
parent1fcdf28b9b5deeea8beb4f7a38377cc8ee19639e
refactor garmin_fs class (#1203)

* use container for garmin_fs ilinks.

and leave memory management up to the copy on write container.

* make gmsd const for read only usage.

this prevents the possiblity of detachment of the ilinks list.

* incorporate some variables and functions into garmin_fs_t

* unify garmin category conversions.

* fiddle with test time zone sensitivity.

* add utc option for garmin_txt reader.

* correct sign of adjustment

* update garmin_txt includes.
16 files changed:
garmin.cc
garmin_fs.cc
garmin_fs.h
garmin_gpi.cc
garmin_txt.cc
gdb.cc
gdb.h
gpx.cc
random.cc
reference/garmincategories.gpx [new file with mode: 0644]
reference/garmincategories.txt [new file with mode: 0644]
testo.d/gpx.test
unicsv.cc
util.cc
waypt.cc
xcsv.cc